#ifndef COMMANDS_H
#define COMMANDS_H

#include<stdbool.h>
#include<stdint.h>
#include"../include/type.h"

// 控制模式和设备状态相关的全局变量


Motor_Ctr Speed_ClosedLoop_ctr(uint32_t speed) ;
void set_motor_speed(int speed);
void set_stepmotor_distance(float distance) ;
void set_power(bool power_on) ;

#endif